﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JXT.PrimaryKey.Batman.Domain.Models;

namespace JXT.PrimaryKey.Batman.Domain.Quotation.Models
{
    [Serializable]
    public class MarketStatistic : EntityBase<int>
    {
        /// <summary>
        /// 代码
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 交易所类型
        /// </summary>
        public MarketType MarketType { get; set; }

        /// <summary>
        /// 更新日期
        /// </summary>
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 昨收价
        /// </summary>
        public double PrevClosePrice { get; set; }

        /// <summary>
        /// 开盘价
        /// </summary>
        public double OpenPrice { get; set; }

        /// <summary>
        /// 收盘价
        /// </summary>
        public double ClosePrice { get; set; }

        /// <summary>
        /// 最高价
        /// </summary>
        public double HighestPrice { get; set; }

        /// <summary>
        /// 最低价
        /// </summary>
        public double LowestPrice { get; set; }

        /// <summary>
        /// 成交量
        /// </summary>
        public long TradingVolume { get; set; }

        /// <summary>
        /// 成交额
        /// </summary>
        public double Turnover { get; set; }

        /// <summary>
        /// 市值
        /// </summary>
        public double MarketValue { get; set; }

        /// <summary>
        /// 涨跌
        /// </summary>
        public double ChangePrice { get; set; }

        /// <summary>
        /// 涨跌率
        /// </summary>
        public double ChangeRate { get; set; }
    }
}
